package com.shanhy.lixp.need001.common.configuration;

import org.apache.commons.httpclient.HttpClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AppConfiguration {
	
	@Bean
	public HttpClient httpClient() {
		HttpClient httpClient = new HttpClient();
		httpClient.getParams().setSoTimeout(120 * 1000);
		return httpClient;
	}

}
